﻿@model ProjectHopur23.Models.UserProfile

<script src="@Url.Content("~/Scripts/jquery-1.7.1.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="/Content/bootstrap.css" />
<link rel="stylesheet" type="text/css" href="/Content/Site.css" />
<link rel="stylesheet" type="text/javascript" href="/Scripts/bootstrap.js" />
<link rel="stylesheet" type="text/javascript" href="/Scripts/jquery-1.8.2.js" />


<h1>Admin</h1>

<h2>Breyta notandanum @Model.UserName</h2>
<p>hér breytir þú upplýsingum um @Model.UserName</p>

@using(Html.BeginForm())
{
	@Html.ValidationSummary(true)
	<fieldset>
		<legend>Model.UserName</legend>

		@Html.HiddenFor(m => Model.UserId)

		<label>Notendanafn</label>
		@Html.EditorFor(m => Model.UserName)
		@Html.ValidationMessageFor(m => Model.UserName)

		<label>Netfang</label>
		@Html.EditorFor(m => Model.email)
		@Html.ValidationMessageFor(m => Model.email)

		<label>Stig</label>
		@Html.EditorFor(m => Model.score)
		@Html.ValidationMessageFor(m => Model.score)

		<div class="btn btn-mini"><input type="submit" value="Vista breytingar"></div>
		<div class="btn btn-mini"><input type="button" value="Til baka" onclick="history.back(-1)" /></div>
	</fieldset>
}
